package com.jd.sunny.java.designpattern.simplefactory;

/**
 * @author :����
 * @ClassName:Use
 * @Description:
 * @date :2012-8-23����11:13:11
 */
public class Use {

    /**
     * @param args
     */
    public static void main(String[] args) {
        Car car = CarFactory.getCar("benz");
        car.drive();

    }

}
